Skip to main content

Episode of Care

In MediKIT, Episodes consist of an EpisodeOfCare resource and a Condition resource. The EpisodeOfCare resource is contains administrative details about the Episode, while the Condition resource contains the clinical details (ICPC).

Episodes can be retrieved by ID or through a search. The latter also allows for an inclusion of the Condition resource.

Retrieving an Episode by ID

GET <TENANT_BASE_URL>/fhir/R4/EpisodeOfCare/<EPISODE_ID>

The available search parameters are:

  • _include: Used to include the Condition resource in the response, should only ever have value EpisodeOfCare:condition.
  • status: Used to filter the episodes by status. Valid values are active, planned, onhold, finished, cancelled.
GET <TENANT_BASE_URL>/fhir/Patient/<PATIENT_ID>/EpisodeOfCare?_include=EpisodeOfCare:condition&status=active